package com.atguigu.guli.service.trade.service;

import com.atguigu.guli.service.base.result.R;
import com.atguigu.guli.service.trade.service.impl.CourseDtoServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-edu",fallback = CourseDtoServiceFallback.class)
public interface CourseDtoSevice {
    @GetMapping("/api/edu/course/getCourseById/{courseId}")
    public R getCourseByCourseId(@PathVariable String courseId);


}
